﻿using Furion.Schedule;

namespace ApiLib.Common.MyJobs;

/// <summary>
/// 数据库持久化
/// </summary>
// [PeriodSeconds(3,RunOnStart = true)]
[Obsolete]
public class DefaultJobPersistence//: IJob
{
    public Task ExecuteAsync(JobExecutingContext context, CancellationToken stoppingToken)
    {
        //todo 定时任务数据库持久化
        Console.WriteLine("MyDbJobPersistence.................");
        return Task.CompletedTask;
    }
}